﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MachineQA
{
    
    //public enum Modality
    //{
    //    Photon,
    //    Electron
    //}

    //public struct Energy
    //{
    //    public Modality type;
    //    public int energyValue;

    //    public override string ToString()
    //    {
    //        return energyValue.ToString() + (type == Modality.Photon ? "MV" : "MeV");
    //    }
    //}

    //public class MachineProperties
    //{
    //    public List<Energy> energies;

    //    public override string ToString()
    //    {
    //        string returnValue = "Photon energies:\n";
    //        foreach (Energy item in energies.Where((i) => i.type == Modality.Photon))
    //        {
    //            returnValue += item.ToString() + "\n";
    //        }
    //        returnValue += "Electron energies:\n";
    //        foreach (Energy item in energies.Where((i) => i.type == Modality.Electron))
    //        { 
    //            returnValue += item.ToString() + "\n";
    //        }
    //        return returnValue;
    //    }
    //}
}
